Repository navigation
Conversation
Three levels of stone and wooden towers with goblin guards, a knight's sling aimed with the mouse, keys or a gamepad, iron bolts that are welds with a break force, and an autopilot for smoke runs. Generated pixel-art sprites and synthesised sounds and march.
Slow the stone while it rolls on the ground, tint the far castle with the haze, keep the clouds clear of the HUD, record the art prompts and the sounds in assets/README.md, add the screenshot, and list the game in the README, CLAUDE.md and CONTRIBUTING.md.
…line Draw a dark band behind the title so its text reads over a cloud, log the strongest pull on the bolts at rest and per throw with joints.forceOf against the break force, and name the scores in the exit line: the last finished campaign, the best, and the unfinished one.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #73.
Topple, a slingshot game on
klyph-physics: fling stones from a knight's sling at goblins in towers of stone and planks, across three levels. Retro pixel art, generated with Grok Imagine (36 images, $0.72; every prompt is ingames/topple/assets/README.md), loaded withassets.regionso it lands in the automatic atlas. Sounds and a chiptune march come fromgames/topple/tools/synth.py. No engine module changes.It shows physics inside an ordinary klyph game:
rigidBody(collider, transform)and drawn as aSpritethroughPhysicsBodyandInterpolated.breakForce, measured withjoints.forceOf: a standing tower pulls them at most 36k, a hit takes them past the 430k limit.Motion.BULLET.drawnPositionOf(stone)and shakes throughoffsetX.Verified on macosArm64:
./gradlew checkFriction found
addPhysicsignores scenes; six hooks togglephysics.isPaused.rigidBodies.isTouchingSolids(particles haveisTouching).massOf, sobreakForceis worked out from area × density × gravity.Canvas.drawLine,KLYPH_SCREENSHOTwrites physical pixels,angleOfis not wrapped.README.md,CLAUDE.md,CONTRIBUTING.mdandsettings.gradle.ktsoverlap with the Flipper PR; whichever merges second gets rebased.